import request from '@/utils/request'



export function getAllNotApprovedTenderByManagerId(data) {
  return request({
    url: '/manager/getAllNotApprovedTenderByManagerId',
    method: 'get',
    params:data
  })
}


export function getAllTenderHasApprovedByManager(data) {
  return request({
    url: '/manager/getAllTenderHasApprovedByManager',
    method: 'get',
    params:data
  })
}


export function approveTender(data) {
  return request({
    url: '/manager/approveTender',
    method: 'put',
    data
  })
}


export function deleteManagerTenderRecords(data) {
  return request({
    url: '/manager/deleteManagerTenderRecords',
    method: 'put',
    data
  })
}